
cmake_minimum_required(VERSION 3.0)

include_directories(${CMAKE_CURRENT_SOURCE_DIR}/NCNN/include/ncnn/)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src/)

link_directories(${CMAKE_CURRENT_SOURCE_DIR}/NCNN/lib/)

set(CMAKE_PREFIX_PATH ${CMAKE_CURRENT_SOURCE_DIR}/NCNN/lib/cmake/ncnn/)
FIND_PACKAGE(ncnn REQUIRED)
find_package(OpenCV REQUIRED)

add_executable(test test.cpp src/LFFD.cpp)
target_link_libraries(test ncnn ${OpenCV_LIBRARIES})
